﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class Extention  {

	public static void SetAlpha(this SpriteRenderer sprite, float a)
	{
		Color color = sprite.color;
		color.a = a;
		sprite.color = color;
	}
}
